#ifndef COMMUNICATIONPROTOCOL_H
#define COMMUNICATIONPROTOCOL_H

#include "DXUT.h"

#define DEFAULT_PORT        5150
#define DEFAULT_BUFFER      8192

struct Protostruct {
	DWORD	Type;// : 1; // Read - > False | Write - > True
	DWORD	Size;
	DWORD	Context;

	Protostruct() {
		Type	= 0;
		Size	= 0;
		Context = 0;
	};
	Protostruct(DWORD type) {
		Type	= type;
		Size	= 0;
		Context = 0;
	};
	Protostruct(DWORD type, DWORD size) {
		Type	= type;
		Size	= size;
		Context = 0;
	};
};

#endif